package com.ibeeking.found.common.entity;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * redis 缓存param
 */
@Data
@Accessors(chain = true)
public class RedisCacheParam {
    /**
     * redis 缓存key前缀 (比如完整的key为 PAGE_BASE:1111, 前缀:PAGE_BASE:)
     */
    private List<String> redisKeyPrefixList;

    /**
     * redis 缓存key后缀 (比如完整的key为 PAGE_BASE:1111, 后缀:1111)
     */
    private List<String> redisKeySuffixList;

    /**
     * redis 缓存完整的key(比如 PAGE_BASE:1111)
     */
    private List<String> redisKeyList;

}
